<!DOCTYPE html>
<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="renderer" content="webkit" />
	<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<title>{:get_system_config('web','admin_title')}</title>	
	<link rel="stylesheet" href="{__CSS__}/student.css" />
	<link rel="stylesheet" href="{__GOUGU__}/layui/css/layui.css" />
</head>

<body>
	<div id="container">
		<div class="login">
			{//左边栏目开始}
			
			<div class="wrap">
				<div class="school-img">
				  <img src="{__IMG__}/school-logo.png" >
			    </div>
				<h2>恭喜您，选课成功!</h2>
				<h3>录取课程，将根据选课志愿进行调整。</h3>
				<p>
					<br><br>
					<dl>
					<dd>班 级：{$student.bj_name}</dd>
					<dd>学 号：{$student.code}</dd>
					<dd>姓 名：{$student.name}</dd>
					<dd>联系手机：{$student.mobile}</dd>
					<dd>第一志愿：{$student.zy1}</dd>
					<dd>第二志愿：{$student.zy2}</dd>
					<dd>填报时间：{$student.zy_time|date="Y-m-d h:i:s"}</dd>
				</dl>
				</p>
				<p><br>天台县外国语学校小学部<br>
				<br><br></p>

					<div class="footer-operation">
						<button id="courseSubmit" type="button" class="layui-btn">不满意,重新选择</button>
						<p><a href="javascript:;" data-node="logout">退出,重新登录</a></p>
					</div>
				</div>
			</div>
		</div>
		<div class="foot">
			{:get_system_config('web','copyright')} <a id="beian" href="//www.beian.miit.gov.cn" target="_blank"
				rel="nofollow" style="margin-left: 12px;color:#458BF3">{:get_system_config('web','icp')}</a>，Powered by GouguCMS
		</div>
	</div>
	<script language="javascript" src="{__JS__}/jquery.min.js"></script>
	<script language="javascript" src="{__JS__}/layer/layer.js"></script>
	<script src="{__GOUGU__}/layui/layui.js"></script>
	<script type="text/javascript">
		$('#courseSubmit').on('click', function () {
			window.location.href="{:url('/home/student/index')}";
		});
		$('[data-node="logout"]').on("click", function () {
			layer.confirm('确认注销登录吗?', { icon: 7, title: '警告' }, function (index) {
				$.ajax({
					url: '/home/student/login_out',
					success: function (res) {
						layer.msg(res.msg);
						if (res.code == 0) {
							setTimeout(function () {								
								location.href = "/home/student/index"
							}, 1000)
						}
					}
				})
			})
		})
	</script>
</body>

</html>